package com.example.powersystem.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.powersystem.dao.RolePremissionMapper;
import com.example.powersystem.dao.TowerMapper;
import com.example.powersystem.pojo.RolePremission;
import com.example.powersystem.pojo.Tower;
import com.example.powersystem.service.TowerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TowerServiceImpl extends ServiceImpl<TowerMapper, Tower> implements TowerService {
    @Resource
    private TowerMapper towerMapper;

    @Override
    public List<Tower> selectByLineAndStatus(String belongLine, Integer state) {
        return towerMapper.selectByLineAndStatus(belongLine, state);
    }
}
